package com.grad.why.studentsystem.mapper;

import com.grad.why.studentsystem.domain.Coursestandard;
import com.grad.why.studentsystem.domain.CoursestandardExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CoursestandardMapper {
    int countByExample(CoursestandardExample example);

    int deleteByExample(CoursestandardExample example);

    int deleteByPrimaryKey(Integer courseid);

    int insert(Coursestandard record);

    int insertSelective(Coursestandard record);

    List<Coursestandard> selectByExample(CoursestandardExample example);

    Coursestandard selectByPrimaryKey(Integer courseid);

    int updateByExampleSelective(@Param("record") Coursestandard record, @Param("example") CoursestandardExample example);

    int updateByExample(@Param("record") Coursestandard record, @Param("example") CoursestandardExample example);

    int updateByPrimaryKeySelective(Coursestandard record);

    int updateByPrimaryKey(Coursestandard record);
}